//引入vue-router
import{createRouter,createWebHashHistory} from 'vue-router'
//引入组件
import OneVue from '@/components/OneVue.vue'
import TwoVue from '@/components/TwoVue.vue'
import ThreeVue from '@/components/ThreeVue.vue'
import FourVue from '@/components/FourVue.vue'
import FiveVue from '@/components/FiveVue.vue'
import SixVue from '@/components/SixVue.vue'
import SevenVue from '@/components/SevenVue.vue'
import EightVue from '@/components/EightVue.vue'
import NineVue from '@/components/NineVue.vue'
import TenVue from '@/components/TenVue.vue'
import ElevenVue from '@/components/ElevenVue.vue'
import ThirteenVue from '@/components/ThirteenVue.vue'
import TwelveVue from '@/components/TwelveVue.vue'



//创建vue-router实例
const router = createRouter({
    history:createWebHashHistory(),
    routes:[
            // {
            //     path:'/',
            //     component:MainPage
            // },
            {
                path:'/oneVue',
                component:OneVue
              },
            {
                path:'/twovue',
                component:TwoVue
            },
            {
                path:'/threevue',
                component:ThreeVue
            },
            { 
                path:'/fourvue',
                component:FourVue},
            { 
                path:'/fivevue',
                component:FiveVue},
            { 
                path:'/sixvue',
                component:SixVue},
            { 
                path:'/sevenvue',
                component:SevenVue},
            { 
                path:'/eightvue',
                component:EightVue},
            { 
                path:'/ninevue',
                component:NineVue},
            { 
                path:'/tenvue',
                component:TenVue},
            { 
                path:'/elevenvue',
                component:ElevenVue}
                ,
            { 
                path:'/twelvevue',
                component:TwelveVue}
                ,
            { 
                path:'/thirteen',
                component:ThirteenVue}
    ]
})

export default router